<template>
  <div class=''>
    <basepannel comname="linepannel" comtitle="wms编辑" :w="396" :h="672" :x="panelX" :y="panelY">
      <linecom ref="linecom" style="" />
    </basepannel>
  </div>
</template>
<script >
import basepannel from '../basepannel/index.vue';
import linecom from './linecom.vue'

export default{
  name: 'linepannel',
  props: {
    options: {
      type: Object,
      default: () => ({
        top: 100,
        right: 400
      })
    }
  },
  components: {
    basepannel,
    linecom,
  },
  data() {
    return {
    };
  },
  computed: {
    panelX() {
      return this.options.left
    },
    panelY() {
      return this.options.top
    }
  },
  watch: {

  },
  mounted() {
  },
  methods: {
    closewindow() {
      this.$refs.linecom.closewindow()
    }
  },
}
</script>
<style lang='scss' scoped></style>